Repeatedly gets parent. ancestor(0) is this, ancestor(1) is parent, and so on.
ancestor(0)
this
ancestor(1)
parent